package com.head.firtst.ch1;

/**
 * @author guohuixin
 * @date 2018/8/11
 */
public class MallarDuck extends Duck {
    public void display() {
        System.out.println("MallarDuck dispaly");
    }

    public MallarDuck(){
        flyBehavior = new FlyWithWings();
        quackBehavior = new Quack();
    }
}
